package com.example.demo1.pk7;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


import java.util.List;
import java.util.Map;

@Data
@ConfigurationProperties
public class CollectionConfig {
    private List<String> names;
    private List<MyServer> servers;
    private Map<String, User> users;


    public String toString() {
        return "CollectionConfig{names = " + names + ", servers = " + servers + ", users = " + users + "}";
    }
}
